//
//  TypeViewController.h
//  NewBook
//
//  Created by dlios on 15-3-7.
//  Copyright (c) 2015年 dlios. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "TypeTableViewCell.h"

#import "HTHorizontalSelectionList.h"

#import "ArtViewController.h"

#import "LifeViewController.h"
#import "MJRefresh.h"
#import "LiteratureViewController.h"
#import "ManagerViewController.h"
#import "NovelViewController.h"
#import "ScienceViewController.h"
#import "SocialViewController.h"
#import "AFNDownLoader.h"

#import "YoungBook.h"
#import "BookDetailsViewController.h"

#import "DataBase.h"
#import "AttachedYoungTableViewCell.h"

#import "UMSocial.h"

@interface TypeViewController : UIViewController<UITableViewDataSource, UITableViewDelegate, HTHorizontalSelectionListDataSource, HTHorizontalSelectionListDelegate, UMSocialUIDelegate>

@property (nonatomic, retain)NSArray *buttonArray;//滚动条上button按钮的数组
@property (nonatomic, retain)UITableView *myTableView;//显示页的cell
@property (nonatomic, retain) HTHorizontalSelectionList *selectionList;
@property (nonatomic, retain) NSArray *typeButtonArray;//滚动屏内容的数组

@property (nonatomic, retain) UILabel *selectedItemLabel;
@property (nonatomic, retain)ArtViewController *artVC;
@property (nonatomic, retain)LifeViewController *lifeVC;
@property (nonatomic, retain)ManagerViewController *managerVC;
@property (nonatomic, retain)LiteratureViewController *literatureVC;
@property (nonatomic, retain)NovelViewController *novelVC;
@property (nonatomic, retain)ScienceViewController *scienceVC;
@property (nonatomic, retain)SocialViewController *socialVC;
@property (nonatomic, retain)NSMutableArray *allYoungArray;//用来存放所有青春文学的数组
@property(nonatomic,assign)BOOL isUpLoading;//标记上拉操作还是下拉操作，yes为上拉
@property(nonatomic,assign)NSInteger page;//记录下一页




@property (nonatomic,retain) AttachedYoungTableViewCell *attachedYoungCell;

@end
